package com.yin.timer;

import java.util.Date;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;


/**
*@author LSY
*Time: 2018年12月28日下午4:27:50
*
*
*/
public class GoodAddTimer extends QuartzJobBean{

	static Logger logger = LoggerFactory.getLogger(GoodAddTimer.class);
	@Override
	protected void executeInternal(JobExecutionContext context) throws JobExecutionException {

		logger.info("商品添加完成后执行任务，任务时间：{}", new Date(System.currentTimeMillis()));
	}

}
